package com.tianxiabuyi.model.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.tianxiabuyi.model.base.TXBYObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * 问卷<br>
 * @author yangh
 */
@Entity
@Table(name = "returning_visit")
public class Visit extends TXBYObject {
	
	@Column(name = "doctor_uid") @JSONField(name = "doctor_uid")
	private Integer doctorUid;      // 医生id
	@Column(name = "patient_uid") @JSONField(name = "patient_uid")
	private Integer patientUid;     // 用户id
	@Column(name = "check_time") @JSONField(name = "check_time")
	private String checkTime;       // 检查时间
	@Column(name = "send_time") @JSONField(name = "send_time")
	private String sendTime;        // 发送时间
	@Column(name = "reconfirmed_time") @JSONField(name = "reconfirmed_time")
	private String reconfirmedTime; // 确认时间
	private Integer isconfirmed; // 确认状态
	@Column(name = "survey_id") @JSONField(name = "survey_id")
	private Integer surveyId;   // 问卷id
	private Integer score;      // 分数
	private Integer category;   // 类型
	private Integer cancel;     // 取消次数
	@Column(name = "work_id") @JSONField(name = "work_id")
	private String workId;      // 工号
	private String name;		// 姓名
	@Column(name = "dept_id") @JSONField(name = "dept_id")
	private String deptId;      // 科室id
	@Column(name = "start_time") @JSONField(name = "start_time")
	private Long startTime;     // 考试开始时间
	@Column(name = "end_time") @JSONField(name = "end_time")
	private Long endTime;       // 考试结束时间

	public String getWorkId() {
		return workId;
	}

	public void setWorkId(String workId) {
		this.workId = workId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public Long getStartTime() {
		return startTime;
	}

	public void setStartTime(Long startTime) {
		this.startTime = startTime;
	}

	public Long getEndTime() {
		return endTime;
	}

	public void setEndTime(Long endTime) {
		this.endTime = endTime;
	}

	public Integer getCancel() {
		return cancel;
	}

	public void setCancel(Integer cancel) {
		this.cancel = cancel;
	}

	public Integer getCategory() {
		return category;
	}

	public void setCategory(Integer category) {
		this.category = category;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public Integer getDoctorUid() {
		return doctorUid;
	}

	public void setDoctorUid(Integer doctorUid) {
		this.doctorUid = doctorUid;
	}

	public Integer getPatientUid() {
		return patientUid;
	}

	public void setPatientUid(Integer patientUid) {
		this.patientUid = patientUid;
	}

	public String getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(String checkTime) {
		this.checkTime = checkTime;
	}

	public String getSendTime() {
		return sendTime;
	}

	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}

	public String getReconfirmedTime() {
		return reconfirmedTime;
	}

	public void setReconfirmedTime(String reconfirmedTime) {
		this.reconfirmedTime = reconfirmedTime;
	}

	public Integer getIsconfirmed() {
		return isconfirmed;
	}

	public void setIsconfirmed(Integer isconfirmed) {
		this.isconfirmed = isconfirmed;
	}

	public Integer getSurveyId() {
		return surveyId;
	}

	public void setSurveyId(Integer surveyId) {
		this.surveyId = surveyId;
	}

}
